package com.ys.servers.migrate.data;

import java.util.Date;

/**
 * Created by taotao on 2017/3/7.
 * CREATE TABLE `t_org` (
 * `ID` bigint(15) NOT NULL AUTO_INCREMENT COMMENT 'ID',
 * `HIERARCHY` bigint(17) DEFAULT NULL COMMENT '组织层级号',
 * `PARENT` bigint(17) DEFAULT NULL COMMENT '父节点组织层级号',
 * `TYPE` int(2) DEFAULT NULL COMMENT '组织类型0.本部1.区域2.省3.市4.药店',
 * `CODE` varchar(40) DEFAULT NULL COMMENT '组织编码',
 * `PHARMACY_ID` bigint(15) DEFAULT NULL COMMENT '药店唯一标示',
 * `NAME` varchar(100) DEFAULT NULL COMMENT '组织名称',
 * `DUTY` varchar(200) DEFAULT NULL COMMENT '负责人',
 * `PHONE` varchar(15) DEFAULT NULL COMMENT '电话',
 * `E_MAIL` varchar(50) DEFAULT NULL COMMENT 'E_MAIL',
 * `MEMO` varchar(200) DEFAULT NULL COMMENT '备注',
 * `LIFE_CYCLE_STATUS` int(2) DEFAULT NULL COMMENT '状态',
 * `CREATE_TIME` datetime DEFAULT NULL COMMENT '创建时间',
 * `UPDATE_TIME` datetime DEFAULT NULL COMMENT '更新时间',
 * `url` varchar(200) DEFAULT NULL COMMENT '药店图片logo',
 * `token` varchar(50) DEFAULT NULL,
 * `RAW_WX_ID` varchar(255) DEFAULT NULL,
 * PRIMARY KEY (`ID`),
 * KEY `HIERARCHY` (`url`) USING BTREE,
 * KEY `TYPE` (`PARENT`) USING BTREE,
 * KEY `PARENT` (`PARENT`) USING BTREE,
 * KEY `PHARMACY_ID` (`url`) USING BTREE
 * ) ENGINE=InnoDB AUTO_INCREMENT=566 DEFAULT CHARSET=utf8
 */


public class VisitsOrg {

    private String id;

    private Long hierarchy;

    private Long parent;

    private Integer type;

    private String code;

    private Integer pharmacyId;

    private String name;

    private String duty;

    private String phone;

    private String eMail;

    private String memo;

    private Integer lifeCycleStatus;

    private Date createTime;

    private Date updateTime;

    private String url;

    private String token;

    private String rawWxId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public Long getHierarchy() {
        return hierarchy;
    }

    public void setHierarchy(Long hierarchy) {
        this.hierarchy = hierarchy;
    }

    public Long getParent() {
        return parent;
    }

    public void setParent(Long parent) {
        this.parent = parent;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public Integer getPharmacyId() {
        return pharmacyId;
    }

    public void setPharmacyId(Integer pharmacyId) {
        this.pharmacyId = pharmacyId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDuty() {
        return duty;
    }

    public void setDuty(String duty) {
        this.duty = duty == null ? null : duty.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String geteMail() {
        return eMail;
    }

    public void seteMail(String eMail) {
        this.eMail = eMail == null ? null : eMail.trim();
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo == null ? null : memo.trim();
    }

    public Integer getLifeCycleStatus() {
        return lifeCycleStatus;
    }

    public void setLifeCycleStatus(Integer lifeCycleStatus) {
        this.lifeCycleStatus = lifeCycleStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getRawWxId() {
        return rawWxId;
    }

    public void setRawWxId(String rawWxId) {
        this.rawWxId = rawWxId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
